package com.jhhc.RHDB.Data.Pojo;

import java.util.ArrayList;
import java.util.List;

public class PPData {

    //站名
    private String time;

    //数据
    private List<Data> datas;


    private Data basinRainfallAvg;

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "PPData{" +
                "time='" + time + '\'' +
                ", datas=" + datas +
                ", basinRainfallAvg=" + basinRainfallAvg +
                ", data1=" + data1 +
                '}';
    }

    public List<Data> getDatas() {
        return datas;
    }

    public void setDatas(List<Data> datas) {
        this.datas = datas;
    }

    List<Data> data1 = new ArrayList<Data>();


    public void setDatas(Data data) {
        data1.add(data);
        this.datas = data1;
    }




    public Data getBasinRainfallAvg() {
        return basinRainfallAvg;
    }

    public void setBasinRainfallAvg(Data basinRainfallAvg) {
        this.basinRainfallAvg = basinRainfallAvg;
    }
}
